package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Stock;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IStockService {

    void saveOrUpdate(Stock stock);

    PageInfo query(QueryObject queryObject);

    Stock selectStockNumber(Long id); //根据商品的id查询库存数量

    void updateNumber(Stock Stock); //更新商品库存

}
